all:write read

write: write.cc Contact.pb.cc
	g++ -o $@ $^ -std=c++11 -lprotobuf

read: read.cc Contact.pb.cc
	g++ -o $@ $^ -std=c++11 -lprotobuf

.PHONY: clean
clean:
	rm -f write read